//得到栏目标题id
function getField(){
    var select=document.getElementById("fieldId");
    /*var index=select.selectedIndex;
    var field=select.options[index].value;*/
    return select.value;
}
//开始时间
function getBegin(){
    var begin=document.getElementById("begin").value;
    return begin;
}
//得到用户输入的标题
function getTitle(){
    var title=document.getElementById("title").value;
    return title;
}
//结束时间
function getEnd() {
    var end=document.getElementById("end").value;
    return end;
}

//将栏目id和时间传给reviewBy servlet
function getfileTBE(){
    var field=getField();
    var begin=getBegin();
    var end=getEnd();
    window.location.href="ReviewPassageByServlet?field="+field+"&begin="+begin+"&end="+end;
}

//将标题 时间传给 passageByTT servlet
function getTT(){
    var title=getTitle();
    var begin=getBegin();
    var end=getEnd();
    window.location.href="PassageByTTServlet?title="+title+"&begin="+begin+"&end="+end;
}
